public class MappingTableModel extends CommonMappingTableModel implements ICatalogObject
Java class represents a mapping table in the pricing catalog (master data) of a service provider;
A mapping table is an instance of a mapping table class.
It contains rows with input and output column filled. Several versions of a row can be defined in the table depending on different periods of time.
Implementation Note
Mapping tables and classes are part of the master data. Refer to the SAP CC Application Help for more information about:
If your mapping table must belong to a subscriber account or must be associated to a subset of contracts, consider the SubscriberMappingTableModel class.
Consult the SAP CC Application Help for more information about the master data.
MappingTableClassModel,
CommonMappingTableModelThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:complexType name="MappingTable">
<xs:complexContent>
<xs:extension base="CommonMappingTable">
<xs:attribute name="owner" type="xs:string" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="mappingTable" type="MappingTable" />
| Modifier and Type | Field and Description |
|---|---|
static String |
TAG_NAME
The XML tag name of this data model: "mappingTable"
|
| Constructor and Description |
|---|
MappingTableModel() |
| Modifier and Type | Method and Description |
|---|---|
String |
getOwner()
Gets the owner of the mapping table;
The owner of the mapping table and mapping table class used have the same owner.
|
String |
getTagName()
Gets the XML tag name of the HCI model.
|
void |
marshalAttributes(XMLOutputter output)
Gives an XML representation of the attributes of an object.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setOwner(String owner)
Sets the owner of the mapping table.
|
addCharacterData, addChild, getAdditionalInfoList, getClass, getId, getMappingTableClassId, getRows, marshal, marshalChildren, setId, setMappingTableClassIdpublic static final String TAG_NAME
public String getOwner()
getOwner in interface ICatalogObjectpublic void setOwner(String owner)
owner - The owner to set to the mapping tablepublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallablesetAttributes in class CommonMappingTableModelatts - The XML attributes of the current elementpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallablemarshalAttributes in interface IXMLMarshallablemarshalAttributes in class CommonMappingTableModeloutput - The XML output to marshal the object attributes intopublic String getTagName()
ITagNameProvidergetTagName in interface ITagNameProvider